package com.ant.rxjava.mvp;

/**
 * Created by Ant on 2018/2/6  15:21
 * <p>
 * <p>
 *
 * @version 1.0.0
 * @auther Ant
 */

public interface MainCallBack<T>{
    /**
     * onSuccessful
     * @param data
     */
    void onSuccess(T data);

    void onFailure(String message);

    void onError();

    void onComplete();

}
